<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
   
   <%@page import="com.taobao.wlb.controller.UserController" %>
   <%@page import="com.taobao.wlb.model.*" %>
   <%@page import="java.sql.*" %>
    <%
    String name=request.getParameter("userid");
    String pwd=request.getParameter("password");
    UserController userController=new UserController();
    UserInfo userInfo=new UserInfo();
    
    userInfo.setUserName(name);
    userInfo.setUserPasswd(pwd);
    //System.out.println(session.getAttribute("dabing").toString());
    if(userController.addUserInfo(userInfo))
    	System.out.println("OK");
    else
    	System.out.println("Failed");
    
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
</head>
<body>

</body>
</html>